/**
 * 
 */
package com.lvan.bean;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;

import com.lvan.util.CustomDateSerializer;
import com.lvan.util.CustomTimeSerializer;
import com.lvan.util.DateUtil;

/**
 * @author lvan.he<br>
 * 2013-6-26<br>
 * @version 1.0.0.0 
 */
public class Order extends AdvanceEntity {
	private static final long serialVersionUID = -7014782620079550809L;
	private int orderId;
	@DateTimeFormat(pattern=DateUtil.DATAFORMAT_ALL)
    private Date orderDate;
    private String orderCustomer;
    private Double orderDiscount;
    private Double orderAmount;
    private Double orderDebt;
    @DateTimeFormat(pattern=DateUtil.DATAFORMAT_SIMPLE)
    private Date orderDebtRemind;
    private String orderCustomerTel;
    private String orderDesc;
    public int getOrderId() {
        return orderId;
    }
    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }
    @JsonSerialize(using = CustomTimeSerializer.class)
    public Date getOrderDate() {
        return orderDate;
    }
    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }
    public String getOrderCustomer() {
        return orderCustomer;
    }
    public void setOrderCustomer(String orderCustomer) {
        this.orderCustomer = orderCustomer;
    }
    public Double getOrderDiscount() {
        return orderDiscount;
    }
    public void setOrderDiscount(Double orderDiscount) {
        this.orderDiscount = orderDiscount;
    }
    public Double getOrderAmount() {
        return orderAmount;
    }
    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }
    public Double getOrderDebt() {
        return orderDebt;
    }
    public void setOrderDebt(Double orderDebt) {
        this.orderDebt = orderDebt;
    }
    @JsonSerialize(using = CustomDateSerializer.class)
    public Date getOrderDebtRemind() {
        return orderDebtRemind;
    }
    public void setOrderDebtRemind(Date orderDebtRemind) {
        this.orderDebtRemind = orderDebtRemind;
    }
    public String getOrderCustomerTel() {
        return orderCustomerTel;
    }
    public void setOrderCustomerTel(String orderCustomerTel) {
        this.orderCustomerTel = orderCustomerTel;
    }
    public String getOrderDesc() {
        return orderDesc;
    }
    public void setOrderDesc(String orderDesc) {
        this.orderDesc = orderDesc;
    }
    
}
